﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Shipping.aspx.cs" EnableEventValidation="false"
    Inherits="WMS6.Web.Outbound.Shipping" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Shipping</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
         function newOrder()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "Shipping.aspx?from=" + escape(from);
            return false;
        }
        
        
		function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}
		
		function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}
		}
		
	  function returnSearch()
        {          
            window.history.go(-1);
            
        }
		  function selectCarton()
          {
            var rtnValue = popModalWindow('../Configuration/CartonQuery.aspx?action=txtContainerType&type=CARTON_TYPE','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtContainerType").focus();
                document.getElementById("txtContainerType").value = rtnValue;
            }
         }
            
    function EncaseNestingClick()
    {    
         $("#DivEncaseNesting").slideToggle();   
    }
    //提示音播放
    function playvoice(url) 
    {
         var voiceid = document.getElementById("player");  
         voiceid.innerHTML = "<embed id='sound_play' name='sound_play' src='../Sounds/sound_play.swf?" + (new Date().getTime()) + "'  FlashVars='isPlay=1&url="+url+"' width='0' height='0' allowScriptAccess='always' type='application/x-shockwave-flash'  /></embed>";
    }
     
     	//显示 报表 DIV
		function showReport()
		{	
			var pos = getElementPos("htmlbtnReport");	
			document.getElementById("reportDiv").style.top = pos.y+17;
			document.getElementById("reportDiv").style.left = pos.x;  			
			document.getElementById("hiddenReportFlag").value = '1';
		}
		
		
			//隐藏 报表 DIV    
		function hiddenReportDiv()
		{
			var flag = document.getElementById("hiddenReportFlag").value
			if(flag == "1")
			{
				document.getElementById("reportDiv").style.display = "block";
				document.getElementById("hiddenReportFlag").value = '0';
			}
			else 
			{
				document.getElementById("reportDiv").style.display = "none";
			}
		}
			
		   //弹出 打印货物签收单  的窗口
        function popPrintCommoditySignoff()
        {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=COMMODITYSIGNOFF&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        //弹出 打印 装箱单
         function popPrintEncasingNote()
        {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=ENCASINGNOTE&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
          //弹出 打印 装箱单明细
         function popPrintEncasingDetailNote()
        {
            var OrderID = document.getElementById("txtOrderID").value;
            var ContainerID = document.getElementById("txtContainerID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=ENCASINGDETAILNOTE&orderID=' + escape(OrderID) + '&containerID=' + escape(ContainerID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        //弹出 打印 装箱单明细
        function popPrintEncasingDetailNote2() {
            var OrderID = document.getElementById("txtOrderID").value;
            var ContainerID = document.getElementById("hdnContainerID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=ENCASINGDETAILNOTE&orderID=' + escape(OrderID) + '&containerID=' + escape(ContainerID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        //弹出 打印 装箱单
        function popPrintShippingOrder() {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            var customerID = "";
            try
            {
            if( document.getElementById("txtConsigneeID") !=null)
            {
              customerID=document.getElementById("txtConsigneeID").value;
            }
            }
            catch(e)
            {
            
            }
            window.open('../Common/PrintReport.aspx?rtype=SHIPPINGORDER&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID)+'&CustomerID='+escape(customerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
           //弹出 打印 装箱单
        function popPrintShippingOrderOCV() {
            var OrderID = document.getElementById("txtOrderID").value;
                        var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=SHIPPINGORDEROCV&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
        //弹出 打印 出库单 的窗口
        function popPrintOutboundList() {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PRINTOUTBOUNDLIST&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        //弹出 打印 应收费用 的窗口
        function popPrintReceivableBillByOrderID() {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PrintReceivableBillByOrderID&orderID=' + escape(OrderID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        //弹出 打印 应付费用 的窗口
        function popPrintPaymentBillByOrderID() {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PrintPaymentBillByOrderID&orderID=' + escape(OrderID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        //锁屏
        function blockScreen() {
            //锁屏
            $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
        }
        function UpdateActualShipDate()
		{	
		   if(document.getElementById('hdnSelectIndex').value.length >0)
		   {	
		      $('#tbActualShipDate').modal();
		       document.getElementById("hdnClickIndex").value="3";
		   }
		   else
		   {			 
		     document.getElementById('lblMsg').innerHTML="请选择一项！";
		   }
		}
		 function UpdateActualShipDateByOrderID()
		 {	
		   $('#tbActualShipDate').modal();
		     document.getElementById("hdnClickIndex").value="4";
		 
		 }
		 
		  function ShippingOrderByOrderID()
		  {	
		     document.getElementById("hdnClickIndex").value="1";
		     $('#tbActualShipDate').modal();
		  }
		   function ShippingOrderByOrderIDLineID()
		  {	
		    document.getElementById("hdnClickIndex").value="2";
		    $('#tbActualShipDate').modal();
		  }
		  //关闭
        function ActualShipClose()
        { 
          $('#tbActualShipDate').fadeOut("slow",function(){ $.modal.close();});       
        } 
        
        function SetRowIndex(num)
        {
          document.getElementById('hdnSelectIndex').value =num;
        } 
        
        function GetValue(obj)
        {          
          document.getElementById('hdnTimeValue').value=obj.value;
        }
        
          //弹出 更新自定义
        function popShippingUDF()
        {
          rtnValue = FastPopModalWindow('ShippingUDF.aspx?ram=' + Math.round(Math.random() * 100),  'dialogWidth=1100px;dialogHeight=600px;center=yes;resizable=yes;status=no;');
          if(rtnValue !=null)
          {
             document.getElementById("btnRefresh").click();
          }
        }
        
        //弹出箱托录入窗口
        function popInvPallet()
        {
            var orderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            var palletAudit = document.getElementById("hdnPalletAudit").value;
            var lang = self.parent.document.getElementById("hdnPerfLanguage").value;
            var style = self.parent.document.getElementById("henPerfStyle").value;
            //var rtnValue = window.showModalDialog('ShippingInvPallet.aspx?DOC_ID=' + escape(orderID)+'&OwnerID='+escape(OwnerID),lang+','+style,'dialogWidth=810px;dialogHeight=500px;center=yes;resizable=yes;status=no;')
            window.open ('ShippingInvPallet.aspx?DOC_ID=' + escape(orderID)+'&OwnerID='+escape(OwnerID)+'&PA='+escape(palletAudit)+'&lang='+escape(lang)+'&style='+escape(style), 'InboundPallet', 'height=500, width=810, top=50, left=100, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')
        }
        
        //导入ShippingOrder装箱明细
        function DataImport() {
            var rtnValue = popModalWindow('../Common/ImporData.aspx?action=SHIPPINGCONTAINERDETAIL&OrderID=' + escape(document.getElementById('txtOrderID').value) + '&OwnerID=' + escape(document.getElementById('txtOwnerID').value), 'dialogWidth=520px;dialogHeight=300px;center=yes;resizable=yes;status=no;')

            window.location.href = "Shipping.aspx?from=" + escape(document.getElementById("hdnFrom").value) + "&ID=" + escape(document.getElementById('txtOrderID').value) + "&Tab=4";
		   //把导入标识置为1，则页面加载的时候 默认显示 第6个Tab
		   
		   return false;
	   }
	   function ImporDataDivClose()
        {
           window.location.href = "../Outbound/Shipping.aspx?from="+ escape(document.getElementById("hdnFrom").value)+"&ID=" + escape(document.getElementById('txtOrderID').value) + "&Tab=4";
        }
       
    </script>

</head>
<body>
    <form id="F7061" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <a></a>
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="发货" meta:resourcekey="lblOwner"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            CausesValidation="False" OnClientClick="returnSearch(); return false;" Enabled="False" />
                    </td>
                    <td>
                        <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                            class="button" onclick="showAction(); return false;" />
                        <a id="aSendOrder" runat="server" onserverclick="SendOrder_Click"></a>
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                            class="button" onclick="showReport();" />
                    </td>
                </tr>
            </table>
            <a id="btnRefresh" onserverclick="btnRefresh_Click" runat="server"></a>
        </div>
        <%--   <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>--%>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label><span
                id="player"></span>
        </div>
        <div id="div_menu">
            <div id="div1">
                <div style="float: left; width: 8px;">
                    <div class="tabL" id="divL1">
                    </div>
                </div>
                <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,5)"
                    id="divM1">
                    <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR" id="divR1">
                    </div>
                </div>
                <div style="float: left; width: 8px;">
                    <div class="tabL_1" id="divL2">
                    </div>
                </div>
                <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,5)"
                    id="divM2">
                    <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">订单行</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR_1" id="divR2">
                    </div>
                </div>
                <div style="float: left; width: 8px;">
                    <div class="tabL_1" id="divL3">
                    </div>
                </div>
                <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,5)"
                    id="divM3">
                    <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">发货明细</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR_1" id="divR3">
                    </div>
                </div>
                <div style="float: left; width: 8px;">
                    <div class="tabL_1" id="divL4">
                    </div>
                </div>
                <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,5)"
                    id="divM4">
                    <asp:Label ID="one4" CssClass="navigationlabel" runat="server" meta:resourcekey="one4">容器</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR_1" id="divR4">
                    </div>
                </div>
                <div style="float: left; width: 8px;">
                    <div class="tabL_1" id="divL5">
                    </div>
                </div>
                <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,5)"
                    id="divM5">
                    <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">扫描装箱</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR_1" id="divR5">
                    </div>
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTye" runat="server" CssClass="label" Text="订单类型" meta:resourcekey="lblTye"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOrderDate" runat="server" CssClass="label" Text="订单日期" meta:resourcekey="lblOrderDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtOrderID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlStatus">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlType" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlType">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderDate" runat="server" Enabled="false" CssClass="textbox"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtOrderDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><font
                                color="red">*</font>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOrderGroup" runat="server" CssClass="label" Text="订单分组" meta:resourcekey="lblOrderGroup"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblReferenceNum" runat="server" CssClass="label" Text="采购订单号" meta:resourcekey="lblReferenceNum"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblRequestShipDate" runat="server" CssClass="label" Text="要求发货日期"
                                meta:resourcekey="lblRequestShipDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                src="../Images/icon_find.gif" id="imgOwnerID" runat="server" alt="select one item"
                                class="img" onclick="selectOwner();" />
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderGroup" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtOrderGroup"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtReferenceNum" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtReferenceNum"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtRequestShipDate" runat="server" Enabled="false" CssClass="textbox"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtRequestShipDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblPriority" runat="server" CssClass="label" Text="优先级" meta:resourcekey="lblPriority"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTotalQty" runat="server" CssClass="label" Text="总订购量" meta:resourcekey="lblTotalQty"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExternOrderID" runat="server" CssClass="label" Text="外部订单号1" meta:resourcekey="lblExternOrderID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblActualShipDate" runat="server" CssClass="label" Text="实际发货日期" meta:resourcekey="lblActualShipDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:DropDownList ID="ddlPriority" runat="server" CssClass="mediumselectbox" Enabled="false"
                                meta:resourcekey="ddlPriority">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalQty" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtTotalQty"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExternOrderID" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtExternOrderID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtActualShipDate" runat="server" Enabled="false" CssClass="textbox"
                                meta:resourcekey="txtActualShipDate"></asp:TextBox><img src="../Images/calendar.gif"
                                    id="ImgactualShipDate" runat="server" class="img" alt="请选择日期" onclick="setday(this,txtActualShipDate)"
                                    visible="false" />
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblWareHouseID" runat="server" CssClass="label" Text="收货仓库" Visible="False"
                                meta:resourcekey="lblWareHouseID"></asp:Label>
                            <asp:Label ID="lblConsigneeID" runat="server" CssClass="label" Text="收货人代码" Visible="False"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblIntransitID" runat="server" CssClass="label" Text="转仓单号" Visible="False"
                                meta:resourcekey="lblIntransitID"></asp:Label>
                            <asp:Label ID="lblCCompany" runat="server" CssClass="label" Text="收货人名称" Visible="False"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExternOrderID2" runat="server" CssClass="label" Text="外部订单号2" meta:resourcekey="lblExternOrderID2"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblDeliveryDate" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="lblDeliveryDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:DropDownList ID="ddlWareHouseID" runat="server" CssClass="mediumselectbox" Visible="False"
                                meta:resourcekey="ddlWareHouseID">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" Visible="False"
                                Enabled="False"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtIntransitID" runat="server" CssClass="textbox" Visible="False"
                                Enabled="False" meta:resourcekey="txtIntransitID"></asp:TextBox>
                            <asp:TextBox ID="txtCCompany" runat="server" CssClass="textbox" Visible="False" Enabled="False"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExternOrderID2" runat="server" Enabled="false" CssClass="textbox"
                                meta:resourcekey="txtExternOrderID2"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtDeliveryDate" runat="server" CssClass="textbox" Enabled="false"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" Height="18px" meta:resourcekey="txtDeliveryDate"></asp:TextBox><%--<img alt="请选择日期" class="img"
                                    onclick="setday(this,txtDeliveryDate)" src="../Images/calendar.gif" />--%>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_2" style="display: none; overflow-x: auto; overflow-y: hidden;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="btnShipping" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnShipping%>"
                                            OnClientClick="blockScreen();" OnClick="btnShipping_Click" Enabled="false" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnCancelShipping" runat="server" CssClass="button" Text="取消发货" Enabled="false"
                                            OnClick="btnCancelShipping_Click" OnClientClick="blockScreen();" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnActualShipDate" runat="server" CssClass="button" Text="修改发货时间"
                                            OnClientClick="UpdateActualShipDate();return false;" Enabled="false" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnUpdateUdf" runat="server" CssClass="button" Text="更新自定义字段" Enabled="false"
                                            OnClick="lnkbtnUdf_Click" OnClientClick="JavaScript: document.getElementById('hdnSelectIndex').value=1" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <asp:GridView ID="gvOrderDetail" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                                    CssClass="gridview" DataKeyNames="ORDERID,LINEID,STATUS" Width="1410px" OnRowDataBound="gvOrderDetail_RowDataBound"
                                    AllowPaging="True" OnPageIndexChanging="gvOrderDetail_PageIndexChanging" OnInit="gvOrderDetail_Init"
                                    OnSorting="gvOrderDetail_Sorting" meta:resourcekey="gvOrderDetail">
                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                    <RowStyle CssClass="GridViewRowStyle" />
                                    <PagerStyle CssClass="GridViewPageStyle" />
                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                    <Columns>
                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                        </asp:BoundField>
                                        <asp:TemplateField meta:resourcekey="TemplateField">
                                            <HeaderTemplate>
                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7061','gvOrderDetail');"
                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvOrderDetail');SetRowIndex('1');"
                                                    meta:resourcekey="CheckBox1" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvOrderDetail');SetRowIndex('1');"
                                                    meta:resourcekey="CheckBox2" />
                                            </FooterTemplate>
                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="LineID" HeaderText="行号" FooterText="行号" SortExpression="LineID"
                                            meta:resourcekey="LineID">
                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="明细" FooterText="明细" meta:resourcekey="Detail">
                                            <ItemTemplate>
                                                <a href='<%# FormatUrl("ShippingDetail.aspx?from=list&ID={0}&LineID={1}&OwnerID={2}&SkuID={3}",Eval("ORDERID").ToString(),Eval("LINEID").ToString(),Eval("OWNERID").ToString(),Eval("SKUID").ToString()) %>'
                                                    target="_self">
                                                    <img src="../Images/icon_edit.gif" class="img" style="border: none 0px blue;" alt="receipt" /></a>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                            meta:resourcekey="SkuID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr"
                                            meta:resourcekey="SkuDescr">
                                            <ItemTemplate>
                                                <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr").ToString() %>'
                                                    meta:resourcekey="lblSkuDescr"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_200" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="PACKID" HeaderText="包装" FooterText="包装" SortExpression="PACKID"
                                            meta:resourcekey="PACKID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="UOMID" HeaderText="单位" FooterText="单位" SortExpression="UOMID"
                                            meta:resourcekey="UomID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="STATUSD" HeaderText="状态" FooterText="状态" SortExpression="STATUSD"
                                            meta:resourcekey="STATUSD">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="发货数量" HeaderText="发货数量" SortExpression="SHIPQTY" meta:resourcekey="SHIPQTY">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtShipQty" CssClass="textbox" runat="server" Width="90px" Text='<%# GetPreferenceDigit(Eval("PICKEDQTY").ToString()) %>'
                                                    onblur="JavaScript:dataVer._Is123OrX(this,'lblMsg');"></asp:TextBox>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="订货数量" HeaderText="订货数量" SortExpression="ORIGINALQTY"
                                            meta:resourcekey="ORIGINALQTY">
                                            <ItemTemplate>
                                                <asp:Label ID="lblORIGINALQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("ORIGINALQTY").ToString()) %>'
                                                    meta:resourcekey="lblORIGINALQTY"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="预分配数量" HeaderText="预分配数量" SortExpression="PREALLOCATEDQTY"
                                            meta:resourcekey="PREALLOCATEDQTY">
                                            <ItemTemplate>
                                                <asp:Label ID="lblPREALLOCATEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("PREALLOCATEDQTY").ToString()) %>'
                                                    meta:resourcekey="lblPREALLOCATEDQTY"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="分配数量" HeaderText="分配数量" SortExpression="ALLOCATEDQTY"
                                            meta:resourcekey="ALLOCATEDQTY">
                                            <ItemTemplate>
                                                <asp:Label ID="lblALLOCATEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("ALLOCATEDQTY").ToString()) %>'
                                                    meta:resourcekey="lblALLOCATEDQTY"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="拣货数量" HeaderText="拣货数量" SortExpression="PICKEDQTY"
                                            meta:resourcekey="PICKEDQTY">
                                            <ItemTemplate>
                                                <asp:Label ID="lblPICKEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("PICKEDQTY").ToString()) %>'
                                                    meta:resourcekey="lblPICKEDQTY"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="已出数量" HeaderText="已出数量" SortExpression="SHIPPEDQTY"
                                            meta:resourcekey="SHIPPEDQTY">
                                            <ItemTemplate>
                                                <asp:Label ID="lblSHIPPEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("SHIPPEDQTY").ToString()) %>'
                                                    meta:resourcekey="lblSHIPPEDQTY"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td>
                        </td>
                    </tr>
                </table>
                <div style="margin-left: 10px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="Result_01">
                                总计：
                            </td>
                            <td class="Result_02">
                                <table>
                                    <tr>
                                        <td style="margin-right: 20px;">
                                            &nbsp; &nbsp;
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalOriginal" runat="server" Text="订货数量:" class="label"></asp:Label>
                                            <asp:Label ID="lblTotalOriginalQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalPreallocated" runat="server" Text="预分配数量:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalPreallocatedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalAllcated" runat="server" Text="分配数量:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalAllcatedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalPicked" runat="server" Text="拣货数量:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalPickedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalShipped" runat="server" Text="出货数量:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalShippedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="Result_03">
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="con_one_3" style="display: none; overflow-x: auto; overflow-y: hidden;">
                <table style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <td>
                                            <asp:Button ID="btnReleasePrintShippingOrder" runat="server" CssClass="button" Enabled="False"
                                                Text="<%$Resources:ButtonResource,btnReleasePrintShippingOrder%>" OnClientClick="blockScreen();"
                                                OnClick="btnReleasePrintShippingOrder_Click" />
                                        </td>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <asp:GridView ID="gvShippedDetail" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                                    AllowPaging="True" CssClass="gridview" Width="1100px" DataKeyNames="PickDetailID,Status,IsPrintedShippingOrder"
                                    OnRowDataBound="gvShippedDetail_RowDataBound" OnPageIndexChanging="gvShippedDetail_PageIndexChanging"
                                    OnInit="gvShippedDetail_Init" OnSorting="gvShippedDetail_Sorting" meta:resourcekey="gvShippedDetail">
                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                    <PagerStyle CssClass="GridViewPageStyle" />
                                    <RowStyle CssClass="GridViewRowStyle" />
                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                    <Columns>
                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                        </asp:BoundField>
                                        <asp:TemplateField meta:resourcekey="TemplateField2">
                                            <HeaderTemplate>
                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7061','gvShippedDetail');"
                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvShippedDetail');"
                                                    meta:resourcekey="CheckBox1Resource3" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvShippedDetail');"
                                                    meta:resourcekey="CheckBox2Resource3" />
                                            </FooterTemplate>
                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="OrderID" HeaderText="订单号" FooterText="订单号" SortExpression="OrderID"
                                            meta:resourcekey="OrderID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="OrderLineId" HeaderText="行号" FooterText="行号" SortExpression="OrderLineId"
                                            meta:resourcekey="OrderLineId">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="PickDetailID" HeaderText="拣货单号" FooterText="拣货单号" SortExpression="PickDetailID"
                                            meta:resourcekey="PickDetailID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="IsPrintedShippingOrder" HeaderText="打印" FooterText="打印" SortExpression="IsPrintedShippingOrder"
                                            meta:resourcekey="IsPrinted">
                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Lot" HeaderText="批号" FooterText="批号" SortExpression="Lot"
                                            meta:resourcekey="Lot">
                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="LpnID" HeaderText="LPN" FooterText="LPN" SortExpression="LpnID"
                                            meta:resourcekey="LpnID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                            meta:resourcekey="SkuID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="StatusD" HeaderText="状态" FooterText="状态" SortExpression="StatusD"
                                            meta:resourcekey="StatusD">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="已出数量" HeaderText="已出数量" SortExpression="ShippedQty"
                                            meta:resourcekey="ShippedQty">
                                            <ItemTemplate>
                                                <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                    meta:resourcekey="lblQty"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="UomID" HeaderText="计量单位" FooterText="计量单位" SortExpression="UomID"
                                            meta:resourcekey="UomID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
                <div style="margin-left: 10px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="Result_01">
                                总计：
                            </td>
                            <td class="Result_02">
                                <table>
                                    <tr>
                                        <td style="margin-right: 20px;">
                                            &nbsp; &nbsp;
                                        </td>
                                        <td>
                                            <asp:Label ID="lblShippedTotal" runat="server" Text="发货数量:" class="label"></asp:Label><asp:Label
                                                ID="lblShippedTotalQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="Result_03">
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="con_one_4" style="display: none; overflow-x: auto; overflow-y: hidden;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="btnEncaseAddDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncaseAddDetail%>"
                                            OnClick="btnAddDetail_Click" Enabled="False" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnEncaseDeleteDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncaseDeleteDetail%>"
                                            OnClick="btnDeleteDetail_Click" Enabled="False" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnEncaseClose" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncaseClose%>"
                                            Enabled="False" />
                                    </td>
                                    <td>
                                        <div style="display: block;">
                                            <asp:Button ID="btnEncaseNesting" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncaseNesting%>"
                                                OnClientClick="EncaseNestingClick(); return false;" Enabled="False" /></div>
                                        <div id="DivEncaseNesting" style="position: absolute; display: none;">
                                            <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td height="30" background="../Images/DivLocQuery_01.gif">
                                                        <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td valign="bottom">
                                                                    <span class="warehoustitle">嵌套容器</span>
                                                                </td>
                                                                <td width="16" class="close" onclick="EncaseNestingClick()">&nbsp;
                                                                    
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td background="../Images/DivLocQuery_02.gif">
                                                        <table width="292" border="0" align="center" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <table width="100%" align="center" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td height="10">&nbsp;
                                                                                
                                                                            </td>
                                                                            <td height="10">&nbsp;
                                                                                
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" class="areaname" style="display: block; margin-left: 10px; margin-top: 10px;">
                                                                                嵌套容器：
                                                                            </td>
                                                                            <td style="display: block; margin-left: 10px; margin-top: 10px;">
                                                                                <asp:DropDownList ID="ddlEncaseForm" runat="server" CssClass="mediumselectbox" AutoPostBack="True"
                                                                                    OnTextChanged="ddlEncaseForm_OnTextChanged" meta:resourcekey="ddlEncaseForm">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td height="10">&nbsp;
                                                                                
                                                                            </td>
                                                                            <td height="10">&nbsp;
                                                                                
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" class="areaname" style="display: block; margin-left: 10px; margin-top: 10px;">
                                                                                目标容器：
                                                                            </td>
                                                                            <td style="display: block; margin-left: 10px; margin-top: 10px;">
                                                                                <asp:DropDownList ID="ddlEncaseTo" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlEncaseTo">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td height="10">
                                                                    <div style="border-top: 1px dashed #cccccc; height: 1px; overflow: hidden">
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="center">
                                                                    <input type="image" src="../Images/save.gif" runat="server" onserverclick="Encase_Click">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="10" background="../Images/DivLocQuery_03.gif">
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                    <td>
                                        <asp:Button ID="btnEncasePrint" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncasePrint%>"
                                            Enabled="False" OnClick="btnEncasePrint_Click" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnImportData" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnImportData%>"
                                            Enabled="False" OnClick="btnImportData_Click" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <asp:GridView ID="gvdShipmentContainer" runat="server" AutoGenerateColumns="False"
                                    AllowSorting="True" CssClass="gridview" Width="1000px" DataKeyNames="InternalContainerID,TotalQty,ContainerID"
                                    AllowPaging="True" OnRowDataBound="gvdShipmentContainer_RowDataBound" OnInit="gvdShipmentContainer_Init"
                                    OnPageIndexChanging="gvdShipmentContainer_PageIndexChanging" OnSorting="gvdShipmentContainer_Sorting"
                                    meta:resourcekey="gvdShipmentContainer">
                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                    <RowStyle CssClass="GridViewRowStyle" />
                                    <PagerStyle CssClass="GridViewPageStyle" />
                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                    <Columns>
                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                        </asp:BoundField>
                                        <asp:TemplateField meta:resourcekey="TemplateFieldResource9">
                                            <HeaderTemplate>
                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7061','gvdShipmentContainer');"
                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvdShipmentContainer');"
                                                    meta:resourcekey="CheckBox1Resource2" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource2" />
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvdShipmentContainer');"
                                                    meta:resourcekey="CheckBox2Resource2" />
                                            </FooterTemplate>
                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="容器号" FooterText="容器号" SortExpression="ContainerID"
                                            meta:resourcekey="ContainerID">
                                            <ItemTemplate>
                                                <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("ContainerID") %>' NavigateUrl='<%# FormatUrl("~/OutBound/EncaseMent.aspx?from=list&ContainerID={0}&OrderID={1}&CType={2}",Eval("ContainerID").ToString(),Eval("OrderID").ToString(),Eval("ContainerType").ToString()) %>'
                                                    Target="_self" CssClass="hyperlink" meta:resourcekey="HyperLink1"></asp:HyperLink>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="ContainerType" HeaderText="容器类型" FooterText="容器类型" meta:resourcekey="ContainerType">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                            meta:resourcekey="SkuID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="数量" HeaderText="数量" SortExpression="TotalQty" meta:resourcekey="TotalQty">
                                            <ItemTemplate>
                                                <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("TotalQty").ToString()) %>'
                                                    meta:resourcekey="lblQty"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="重量" HeaderText="重量" SortExpression="Weight" meta:resourcekey="Weight">
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_Weight" runat="server" Text='<%# GetPreferenceDigit(Eval("Weight").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="体积" HeaderText="体积" SortExpression="Volume" meta:resourcekey="Volume">
                                            <ItemTemplate>
                                                <asp:Label ID="lblVolume" runat="server" Text='<%# GetPreferenceDigit(Eval("Volume").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="货值" HeaderText="货值" SortExpression="Value" meta:resourcekey="Value">
                                            <ItemTemplate>
                                                <asp:Label ID="lblValue" runat="server" Text='<%# GetPreferenceDigit(Eval("Value").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="长" HeaderText="长" SortExpression="Length" meta:resourcekey="Length">
                                            <ItemTemplate>
                                                <asp:Label ID="lblLength" runat="server" Text='<%# GetPreferenceDigit(Eval("Length").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="宽" HeaderText="宽" SortExpression="Width" meta:resourcekey="Width">
                                            <ItemTemplate>
                                                <asp:Label ID="lblWidth" runat="server" Text='<%# GetPreferenceDigit(Eval("Width").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="高" HeaderText="高" SortExpression="Height" meta:resourcekey="Height">
                                            <ItemTemplate>
                                                <asp:Label ID="lblHeight" runat="server" Text='<%# GetPreferenceDigit(Eval("Height").ToString()) %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td>
                        </td>
                    </tr>
                </table>
                <div style="margin-left: 10px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="Result_01">
                                总计：
                            </td>
                            <td class="Result_02">
                                <table>
                                    <tr>
                                        <td style="margin-right: 20px;">
                                            &nbsp; &nbsp;
                                        </td>
                                        <td>
                                            <asp:Label ID="lblSCTotal" runat="server" Text="数量:" class="label"></asp:Label>
                                            <asp:Label ID="lblSCTotalQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalWeight" runat="server" Text="重量:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalWeightText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalVolume" runat="server" Text="体积:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalVolumeText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalValue" runat="server" Text="货值:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalValueText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalLength" runat="server" Text="长:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalLengthText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalWidth" runat="server" Text="宽:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalWidthText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTotalHeight" runat="server" Text="高:" class="label"></asp:Label><asp:Label
                                                ID="lblTotalHeightText" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="Result_03">
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="con_one_5" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="btnScanDelete" OnClick="btnDelete_Click" runat="server" CssClass="button"
                                            Text="<%$Resources:ButtonResource,btnScanDelete%>" Enabled="False" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="720" style="display: block;">
                                <tr>
                                    <td width="180px">
                                        <asp:Label ID="lblContainerID" runat="server" CssClass="label" Text="容器编号" meta:resourcekey="lblContainerID"></asp:Label><font
                                            class="must_input">*</font>
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblContainerType" runat="server" CssClass="label" Text="容器类型" meta:resourcekey="lblContainerType"></asp:Label><font
                                            class="must_input">*</font>
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblLength" runat="server" CssClass="label" Text="长" meta:resourcekey="lblLength"></asp:Label>
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblWeight" runat="server" CssClass="label" Text="重量" meta:resourcekey="lblWeight"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">
                                        <asp:TextBox ID="txtContainerID" runat="server" CssClass="textbox" MaxLength="10"
                                            AutoPostBack="True" OnTextChanged="txtContainerID_OnTextChanged" meta:resourcekey="txtContainerID"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtContainerType" runat="server" CssClass="textbox" Enabled="False"
                                            meta:resourcekey="txtContainerType"></asp:TextBox>
                                        <img src="../Images/icon_find.gif" alt="select one item" id="imgContainerType" runat="server"
                                            class="img" visible="False" onclick="selectCarton();" />
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtLength" runat="server" CssClass="textbox" Enabled="False" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')"
                                            meta:resourcekey="txtLength"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtWeight" runat="server" CssClass="textbox" Enabled="False" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')"
                                            meta:resourcekey="txtWeight"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">
                                        <asp:Label ID="lblBarcode" runat="server" CssClass="label" Text="货品条码" meta:resourcekey="lblBarcode"></asp:Label><font
                                            class="must_input">*</font>
                                        <td width="180px">
                                            <asp:Label ID="lblSkuID" runat="server" CssClass="label" Text="货品代码" meta:resourcekey="lblSkuID"></asp:Label>
                                        </td>
                                        <td width="180px">
                                            <asp:Label ID="lblWidth" runat="server" CssClass="label" Text="宽" meta:resourcekey="lblWidth"></asp:Label>
                                        </td>
                                        <td width="180px">
                                            <asp:Label ID="lblVolume" runat="server" CssClass="label" Text="体积" meta:resourcekey="lblVolume"></asp:Label>
                                        </td>
                                </tr>
                                <tr>
                                    <td width="180px">
                                        <asp:TextBox ID="txtBarcode" runat="server" CssClass="textbox" Enabled="False" AutoPostBack="True"
                                            OnTextChanged="txtBarcode_OnTextChanged" meta:resourcekey="txtBarcode"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtSkuID"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtWidth" runat="server" CssClass="textbox" Enabled="False" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')"
                                            meta:resourcekey="txtWidth"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtVolume" runat="server" CssClass="textbox" Enabled="False" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')"
                                            meta:resourcekey="txtVolume"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">
                                        <asp:Label ID="lblQty" runat="server" CssClass="label" Text="数量" meta:resourcekey="lblQty"></asp:Label><font
                                            class="must_input">*</font>
                                    </td>
                                    <td width="180px">
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblHeight" runat="server" CssClass="label" Text="高" meta:resourcekey="lblHeight"></asp:Label>
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblValue" runat="server" CssClass="label" Text="货值" meta:resourcekey="lblValue"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">
                                        <asp:TextBox ID="txtQty" runat="server" CssClass="textbox" Enabled="False" Text="1"
                                            onblur="Javascript:dataVer._Is123(this,'lblMsg')" meta:resourcekey="txtQty"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtHeight" runat="server" CssClass="textbox" Enabled="False" onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')"
                                            meta:resourcekey="txtHeight"></asp:TextBox>
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtValue" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtValue"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">&nbsp;
                                        
                                    </td>
                                    <td width="180px">&nbsp;
                                        
                                    </td>
                                    <td width="180px">
                                    </td>
                                    <td width="180px">
                                        <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="备注" meta:resourcekey="lblRemark"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="180px">&nbsp;
                                        
                                    </td>
                                    <td width="180px">&nbsp;
                                        
                                    </td>
                                    <td width="180px">
                                    </td>
                                    <td width="180px">
                                        <asp:TextBox ID="txtRemark" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtRemark"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr style="height: 20px;">
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <asp:GridView ID="gvdShipmentContainers" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="gridview" Width="700px" DataKeyNames="InternalContainerID" OnRowDataBound="gvdShipmentContainer_RowDataBound"
                                            OnInit="gvdShipmentContainers_Init" OnSorting="gvdShipmentContainers_Sorting"
                                            meta:resourcekey="gvdShipmentContainers">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:TemplateField meta:resourcekey="TemplateField2">
                                                    <HeaderTemplate>
                                                        <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7061','gvdShipmentContainers');"
                                                            onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvdShipmentContainers');"
                                                            meta:resourcekey="CheckBox1Resource3" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvdShipmentContainers');"
                                                            meta:resourcekey="CheckBox2Resource3" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="ContainerID" HeaderText="容器号" FooterText="容器号" SortExpression="ContainerID"
                                                    meta:resourcekey="ContainerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ContainerType" HeaderText="容器类型" FooterText="容器类型" SortExpression="ContainerType"
                                                    meta:resourcekey="ContainerType">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                                    meta:resourcekey="SkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="数量" HeaderText="数量" SortExpression="Qty" meta:resourcekey="Qty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                            meta:resourcekey="lblQtyResource3"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="UomID" HeaderText="单位" FooterText="单位" SortExpression="UomID"
                                                    meta:resourcekey="UomID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                            </Columns>
                                        </asp:GridView>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;
                border: none 0 black">
                <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnShipping" runat="server" visible="False">
                            <asp:LinkButton ID="lnkbtnShipping" runat="server" Text="<%$Resources:ButtonResource,lnkbtnShippingAll%>"
                                OnClientClick="blockScreen();" OnClick="SendOrder_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnCancelShipping" runat="server" visible="False">
                            <asp:LinkButton ID="lnkbtnCancelShipping" runat="server" Text="取消发货" OnClientClick="blockScreen();"
                                OnClick="lnkbtnCancelShipping_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnActualShipDate" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnActualShipDate" runat="server" Text="修改发货时间" OnClientClick="UpdateActualShipDateByOrderID();return false;"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnUdf" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnUdf" runat="server" Text="更新自定义字段" OnClick="lnkbtnUdf_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnClose" runat="server" visible="False">
                            <asp:LinkButton ID="lnkbtnClose" runat="server" Text="<%$Resources:ButtonResource,lnkbtnClose%>"
                                OnClientClick="blockScreen();" OnClick="lnkbtnClose_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnInvPalletInput" runat="server" visible="False">
                            <asp:LinkButton ID="lnkbtnInvPalletInput" runat="server" Text="箱托录入" meta:resourcekey="lnkbtnInvPalletInput"
                                OnClientClick="popInvPallet();"></asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </div>
            <input type="hidden" id="hiddenFlag" />
            <input type="hidden" id="hdnLineID" runat="server" />
            <input id="hdnOrderID" runat="server" type="hidden" />
            <input id="hdnFlag" runat="server" type="hidden" value="0" />
            <input id="hdnCopy" runat="server" type="hidden" />
            <input id="hdnOwnerID" runat="server" type="hidden" />
            <input id="hdnFrom" runat="server" type="hidden" />
            <input type="hidden" id="hdnTimeValue" runat="server" />
            <input type="hidden" id="hdnSelectIndex" runat="server" />
            <input type="hidden" id="hdnClickIndex" runat="server" />
            <input id="hdnContainerID" type="hidden" runat="server" />
            <input id="hdnPalletAudit" type="hidden" runat="server" />
            <%--</ContentTemplate>
         </asp:UpdatePanel>--%>
        </div>
        <input type="hidden" id="hiddenReportFlag" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
        <input type="hidden" id="hdnCreatedBy" runat="server" />
        <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
            <table width="110" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnPrintCommoditySignoff" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnPrintCommoditySignoff" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintCommoditySignoff%>"
                            OnClientClick="popPrintCommoditySignoff();"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnEncasingNote" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnEncasingNote" runat="server" Text="<%$Resources:ButtonResource,lnkbtnEncasingNote%>"
                            OnClientClick="popPrintEncasingNote();"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnEncasingDetailNote" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnEncasingDetailNote" runat="server" Text="<%$Resources:ButtonResource,lnkbtnEncasingDetailNote%>"
                            OnClientClick="popPrintEncasingDetailNote();"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnShippingOrder" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnShippingOrder" runat="server" Text="<%$Resources:ButtonResource,lnkbtnShippingOrder%>" 
                            OnClick="lnkbtnShippingOrder_Click"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnShippingOrderOCV" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnShippingOrderOCV" runat="server" Text="送货单(OCV专用)"
                            OnClick="lnkbtnShippingOrderOCV_Click"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnPrintOutboundList" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnPrintOutboundList" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintOutboundList%>"
                            OnClientClick="popPrintOutboundList();"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnPrintReceivableBill" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnPrintReceivableBill" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintReceivableBill%>"
                            OnClientClick="popPrintReceivableBillByOrderID();"></asp:LinkButton>
                    </td>
                </tr>
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnPrintPaymentBill" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnPrintPaymentBill" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintPaymentBill%>"
                            OnClientClick="popPrintPaymentBillByOrderID();"></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenDiv();
			hiddenReportDiv();
			hiddenCalendarDiv();
		//-->
</script>

<!--修改 发货时间调用-->
<table id="tbActualShipDate" style="display: none" width="500" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
        <td height="34" background="../Images/slotbg_01.gif">
            <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <span class="warehoustitle">修改发货时间</span>
                    </td>
                    <td width="16" class="save1">
                        <a id="A1" runat="server" onserverclick="btnA1_Click" style="border: 0px; text-decoration: none;
                            width: 100%; height: 100%">&nbsp;&nbsp;&nbsp;&nbsp;</a>
                    </td>
                    <td width="16" class="close" onclick="ActualShipClose();">&nbsp;
                        
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="35" background="../Images/slotbg_03.gif">
            <table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
                <tr>
                    <td class="areaname">
                        实际发货时间：
                    </td>
                    <td class="areamessage">
                        <input id="txtActualShipDate1" type="text" class="textbox" runat="server" onblur="GetValue(this)" /><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtActualShipDate1);" />
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="7" background="../Images/slotbg_02.gif">
        </td>
    </tr>
    <tr>
        <td background="../Images/slotbg_03.gif">
            <div style="overflow-y: auto; height: 20px; width: 100%;">
            </div>
        </td>
    </tr>
    <tr>
        <td height="18" background="../Images/slotbg_04.gif">&nbsp;
            
        </td>
    </tr>
</table>
